package org.light.reflecttable.service;

import java.util.List;

import org.light.domain.Domain;
import org.light.reflecttable.domain.Table;
import org.light.shiroauth.ShiroAuthModule;
import org.light.simpleauth.SimpleAuthModule;

public interface TableService{
	public List<Table> listAllTables() throws Exception;
	public Domain reflectTableToDomain(String tableName,String dbType) throws Exception;
	public List<Domain> fetchDataDomains(String tableName,String dbType) throws Exception;
	public List<Domain> reflectDbToDomainList(String dbName,String dbType) throws Exception;
	public SimpleAuthModule reflectSimpleAuthModule(List<Domain> domains, List<List<Domain>> datadomains);
	public List<Table> listAllPgTables() throws Exception;
	public ShiroAuthModule reflectShiroAuthModule(List<Domain> domains, List<List<Domain>> datadomains);
}
